package com.java.simple.study.jvm.classstruct;

/**
 * @author zhoujunlin
 * @date 2022年12月28日 15:43
 * @desc javac -g -encoding utf-8 JavapTest.java
 * javap -v -l JavapTest.class
 */
public class JavapTest {

    private int num;
    boolean flag;
    protected char gender;
    public String info;

    public static final int COUNTS = 1;

    static {
        String url = "www.atguigu.com";
    }

    {
        info = "java";
    }

    public JavapTest() {

    }

    private JavapTest(boolean falg) {
        this.flag = flag;
    }

    private void methodPrivate() {

    }

    int getNum(int i) {
        return num + i;
    }

    protected char showGender() {
        return gender;
    }

    public void showInfo() {
        int i = 100;
        System.out.println(info + i);
    }
}
